package hibernate.clientAccount;

import java.util.Set;
import java.util.HashSet;

public class Group extends AbstractClient{
	
	private Set<AbstractClient> customerList=new HashSet();
	private SingleClient groupRegisterer;
	
	public void setCustomerNumber(int i){}
	
	public int getCustomerNumber(){
		return customerList == null ? 0 : customerList.size();
	}
	
	public void setCustomerList(Set<AbstractClient> list){
		customerList=list;
	}
	
	public Set<AbstractClient> getCustomerList(){
		return customerList;
	}
	
	public void setGroupRegisterer(SingleClient registerer){
		groupRegisterer=registerer;
	}
	
	public SingleClient getGroupRegisterer(){
		return groupRegisterer;
	}

}
